import { createRouter, createWebHistory } from 'vue-router'
import LoginView from '@/views/LoginView.vue';

const routes = [
  {
    path: "/login",
    name: "Login",
    component: LoginView,
  },
  {
    path: "/",
    redirect: "/login",
  },
];
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: routes,
});

export default router

